world
	fps=20
mob
	bound_width=16
	bound_height=16
	bound_x=8
	bound_y=0
	step_size=3
	var
		ricon='male.dmi'
		speed=0
		power=0
		fp=0
	proc
		update()
			src.speed=(src.agi_chest+src.agi_leg+src.agi_head+src.agi_arm)/1000
			src.power=(src.str_chest+src.str_leg+src.str_arm)/1000
			src.fp=100**(src.power+src.speed)
		moveSpeed()
			src.step_size=round(4+(src.speed*2))
			if(src.step_size>12)
				src.step_size=12
		updateIcon()
			var/icon/I = new(src.ricon)
			var/w=32+round((src.weight-75)/6)
			var/h=32+round((src.height-175)/6)
			src.bound_x=(1/4)*w
			src.bound_y=0
			src.bound_width=(1/2)*w
			src.bound_height=(3/4)*h
			src.client.pixel_x=-src.bound_width/2
			src.client.pixel_y=-src.bound_height/2
			I.Scale(w, h)
			src.icon=I
	verb
		Weight_and_Heigth()
			usr.weight = input("weigth",usr.weight) as num
			usr.height = input("heigth",usr.height) as num

		Uicon()
			usr.updateIcon()
			usr.moveSpeed()
			usr.update()